Replication package for Wasserman (2021) "Gender Differences in Politician Persistence"

This depository includes the code and public data used in the paper.

The author used Stata 16.0/SE as software for preparation of the results.

DIRECTORY STRUCTURE

00-launcher-final.do: launches all of the do files below

01-clean-election.do: cleans the raw CA local election data 
* Note: this file calls: 01a-clean-election-handcheck.do, which manually deals with within-year duplicates 

02-merge-election.do: links data at the individual candidate level across election years

03-check-election.do: incorporates within-year duplicates into merged data

04-prep-election-regs.do: preps the merged data for the analysis
* Note this file calls: 04a-classify-occ.do, 04b-classify-office.do, and 04c-classify-place.do
* Note this file uses: census-names-sex.dta; ssa-names-sex.dta, and census-occ2016.csv

05-regs-election.do: runs regressions/produces graphs for main results
* Note this file also uses: citypop.dta, female-rep.dta

06-regs-incumbents.do: runs regressions for experienced officeseekers

07-summary-stats: produces summary statistics

DATA SOURCE: California Elections Data Archive (CEDA)

ACCESS: Download election returns from website: http://csus-dspace.calstate.edu/handle/10211.3/210187
The election returns are also in this repository.






